﻿using Books.Model;

namespace Books.Interfaces
{
    public interface IBooksDataService
    {
        int CreatePublisher(PublisherModel model);
        void DeletePublisher(int publisherId);
        BookModel[] GetAllBooks();
        PublisherModel[] GetAllPublishers(string sort);
        BookModel GetBookById(int bookId);
        PublisherModel GetPublisherById(int publisherId);
        PublisherModel[] MatchPublishers(string publisherName, string city);
        void UpdatePublisher(PublisherModel model);
    }
}
